package com.lvmama.rhino.pojo.base;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.lvmama.rhino.utils.PageInfoUtil;


public class BaseResponseVO<T> {
	
	private int code;  // 1-表示成功 0表示失败
	
	private String message;
	
	private List<T> dataList;

	private PageInfo<T> pageInfo;

	private PageInfoUtil<T> page;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public List<T> getDataList() {
		return dataList;
	}

	public void setDataList(List<T> dataList) {
		this.dataList = dataList;
	}

	public PageInfo<T> getPageInfo() {
		return pageInfo;
	}

	public void setPageInfo(PageInfo<T> pageInfo) {
		this.pageInfo = pageInfo;
	}

	public PageInfoUtil<T> getPage() {
		return page;
	}

	public void setPage(PageInfoUtil<T> page) {
		this.page = page;
	}
}
